how to solve null